import { Menu } from 'electron'
import {menuTemp} from "./menus";

/**
 * 头部菜单
 */
export const createTopMenu = () => {
  const topMenu = Menu.buildFromTemplate(menuTemp.top);
  Menu.setApplicationMenu(topMenu)
}
